package com.nhim.cms.admin.shared;

import java.io.Serializable;

public class TemplateRPCProxy implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private Integer id;
	private String name;
	private Integer groupTemplateId;
	private Integer siteTemplateId;
	private Integer version;
	private Boolean isDefault;
	private Integer type;
	private Integer contentTypeId;
	
	// Constructors

		/** default constructor */
		public TemplateRPCProxy() {
		}

		/** minimal constructor */
		public TemplateRPCProxy(String name, Integer type) {
			this.name = name;
			this.type = type;
			this.id = 0;
		}

		/** full constructor */
		public TemplateRPCProxy(Integer id,String name, Integer groupTemplateId, Integer siteTemplateId,
				Integer version, Boolean isDefault,Integer contentTypeId,Integer type) {
			this.id = id;
			this.name = name;
			this.groupTemplateId = groupTemplateId;
			this.siteTemplateId = siteTemplateId;
			this.isDefault = isDefault;
			this.contentTypeId = contentTypeId;
			this.type = type;
			this.version = version;
		}
	
	public Integer getId() {
		return id;
	}
	
	public void setId(Integer id) {
		this.id = id;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	
	public Integer getGroupTemplateId() {
		return groupTemplateId;
	}
	
	public void setGroupTemplateId(Integer groupTemplateId) {
		this.groupTemplateId = groupTemplateId;
	}

	public Integer getSiteTemplateId() {
		return siteTemplateId;
	}
	
	public void setSiteTemplateId(Integer siteTemplateId) {
		this.siteTemplateId = siteTemplateId;
	}
	

	public Boolean getIsDefault() {
		return isDefault;
	}
	
	public void setIsDefault(Boolean isDefault) {
		this.isDefault = isDefault;
	}

	public Integer getContentTypeId() {
		return contentTypeId;
	}
	/**
	 * @param contentType the contentType to set
	 */
	public void setContentTypeId(Integer contentTypeId) {
		this.contentTypeId = contentTypeId;
	}
	

	public Integer getVersion() {
		return version;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}

	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
}
